package com.aifund.app.service;

import com.aifund.common.entity.UserInvitation;

public interface UserInvitationService {
    void save(UserInvitation userInvitation);

    /**
     * 查询用户邀请人数
     * @param userId
     * @return
     */
    Integer getUserInvitationNum(Long userId);

    /**
     * 查询用户今日邀请人数
     * @param userId
     * @return
     */
    Integer getUserInvitationNumToday(Long userId);
}
